﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SpectrumAnalyser.Common.WpfValidation
{
    public class DataErrorInfoBase
    {
        public DataErrorInfoBase()
        {
            ValidationRules = new Dictionary<string, PropertyValidationHandler>();
        }

        public delegate string PropertyValidationHandler();

        public IDictionary<string, PropertyValidationHandler> ValidationRules { get; set; }
    }
}
